<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxPreprocessor.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxPreprocessor_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxPreprocessor.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxPreprocessor_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef PXFOUNDATION_PXPREPROCESSOR_H</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define PXFOUNDATION_PXPREPROCESSOR_H</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#if !defined(PX_GENERATE_META_DATA)</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;ciso646&gt;</span>  </div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group__foundation.html#gaaa541ee81b5c7958c1367b710cfa99ed">   41</a></span>&#160;<span class="preprocessor">#define PX_STRINGIZE_HELPER(X) #X</span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group__foundation.html#ga40e7fc272047a5ab6870668b81aca1a3">   42</a></span>&#160;<span class="preprocessor">#define PX_STRINGIZE(X) PX_STRINGIZE_HELPER(X)</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group__foundation.html#ga571ac4b7ead96ee2a8ad83d1ebe1aec9">   44</a></span>&#160;<span class="preprocessor">#define PX_CONCAT_HELPER(X, Y) X##Y</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="group__foundation.html#ga5f35262177498e8a11a4f3e5ba83e5e8">   45</a></span>&#160;<span class="preprocessor">#define PX_CONCAT(X, Y) PX_CONCAT_HELPER(X, Y)</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment">The following preprocessor identifiers specify compiler, OS, and architecture.</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">All definitions have a value of 1 or 0, use &#39;#if&#39; instead of &#39;#ifdef&#39;.</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#if defined(_MSC_VER)</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#if _MSC_VER &gt;= 1910</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#define PX_VC 15</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#elif _MSC_VER &gt;= 1900</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#define PX_VC 14</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#elif _MSC_VER &gt;= 1800</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#define PX_VC 12</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#elif _MSC_VER &gt;= 1700</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">#define PX_VC 11</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#elif _MSC_VER &gt;= 1600</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#define PX_VC 10</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#elif _MSC_VER &gt;= 1500</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#define PX_VC 9</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#error &quot;Unknown VC version&quot;</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">#elif defined(__clang__)</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#define PX_CLANG 1</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="preprocessor">    #if defined (__clang_major__) </span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">        #define PX_CLANG_MAJOR __clang_major__</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">    #elif defined (_clang_major)</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">        #define PX_CLANG_MAJOR _clang_major</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">    #else</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">        #define PX_CLANG_MAJOR 0</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">    #endif  </span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#elif defined(__GNUC__) // note: __clang__ implies __GNUC__</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#define PX_GCC 1</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">#error &quot;Unknown compiler&quot;</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">#if defined(_XBOX_ONE)</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#define PX_XBOXONE 1</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">#elif defined(_GAMING_XBOX) || defined (_GAMING_XBOX_SCARLETT)</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#define PX_XBOX_SERIES_X 1</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">#elif defined(WINAPI_FAMILY) &amp;&amp; WINAPI_FAMILY == WINAPI_FAMILY_APP</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#define PX_UWP 1</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#elif defined(_WIN64) // note: _XBOX_ONE implies _WIN64</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#define PX_WIN64 1</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">#elif defined(_WIN32) // note: _M_PPC implies _WIN32</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#define PX_WIN32 1</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">#elif defined(__ANDROID__)</span></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#define PX_ANDROID 1</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="preprocessor">#elif defined(__linux__) || defined (__EMSCRIPTEN__) // note: __ANDROID__ implies __linux__</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#define PX_LINUX 1</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">#elif defined(__APPLE__) &amp;&amp; (defined(__arm__) || defined(__arm64__))</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#define PX_IOS 1</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">#elif defined(__APPLE__)</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#define PX_OSX 1</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#elif defined(__ORBIS__)</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#define PX_PS4 1</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">#elif defined(__NX__)</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#define PX_SWITCH 1</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#error &quot;Unknown operating system&quot;</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">#if defined(__x86_64__) || defined(_M_X64) // ps4 compiler defines _M_X64 without value</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="preprocessor">#define PX_X64 1</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">#elif defined(__i386__) || defined(_M_IX86) || defined (__EMSCRIPTEN__)</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">#define PX_X86 1</span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">#elif defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64)</span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#define PX_A64 1</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#elif defined(__arm__) || defined(_M_ARM)</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">#define PX_ARM 1</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#elif defined(__ppc__) || defined(_M_PPC) || defined(__CELLOS_LV2__)</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">#define PX_PPC 1</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">#error &quot;Unknown architecture&quot;</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#if !defined(PX_SIMD_DISABLED)</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#if defined(__i386__) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64) || (defined (__EMSCRIPTEN__) &amp;&amp; defined(__SSE2__))</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#define PX_SSE2 1</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">#if defined(_M_ARM) || defined(__ARM_NEON__) || defined(__ARM_NEON)</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#define PX_NEON 1</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">#if defined(_M_PPC) || defined(__CELLOS_LV2__)</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#define PX_VMX 1</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#ifndef PX_VC</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="group__foundation.html#gaec15ff1639b763560ddaffc82936ff03">  151</a></span>&#160;<span class="preprocessor">#define PX_VC 0</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">#ifndef PX_CLANG</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="group__foundation.html#ga382d2b60e6161c1dcb3801bbf8e1b4a3">  154</a></span>&#160;<span class="preprocessor">#define PX_CLANG 0</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">#ifndef PX_GCC</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="group__foundation.html#ga732674527c19934c396385ac405993b6">  157</a></span>&#160;<span class="preprocessor">#define PX_GCC 0</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor">#ifndef PX_XBOXONE</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="group__foundation.html#ga966bf639353d2b617e4925513859c1ff">  160</a></span>&#160;<span class="preprocessor">#define PX_XBOXONE 0</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#ifndef PX_XBOX_SERIES_X</span></div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="group__foundation.html#ga6479493426d89a1b6a1c1786ecdf8fa7">  163</a></span>&#160;<span class="preprocessor">#define PX_XBOX_SERIES_X 0</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#ifndef PX_WIN64</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="group__foundation.html#gafb26faf6ab4449f92b90eaedb74d6f3b">  166</a></span>&#160;<span class="preprocessor">#define PX_WIN64 0</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">#ifndef PX_WIN32</span></div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__foundation.html#gac4b372e9d2d91a0a86d40f7486936993">  169</a></span>&#160;<span class="preprocessor">#define PX_WIN32 0</span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#ifndef PX_ANDROID</span></div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="group__foundation.html#gabe2aa1202597c18f98b9e7cefdf807a8">  172</a></span>&#160;<span class="preprocessor">#define PX_ANDROID 0</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">#ifndef PX_LINUX</span></div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="group__foundation.html#ga73b08402e151455258acc7ec628a277b">  175</a></span>&#160;<span class="preprocessor">#define PX_LINUX 0</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#ifndef PX_IOS</span></div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="group__foundation.html#gae61c2ba4eafd46db3a41bb5d86f3f4a8">  178</a></span>&#160;<span class="preprocessor">#define PX_IOS 0</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">#ifndef PX_OSX</span></div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="group__foundation.html#ga2b3efd786b831b6cfd30e51dcd3c5ca2">  181</a></span>&#160;<span class="preprocessor">#define PX_OSX 0</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#ifndef PX_PS4</span></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="group__foundation.html#ga42b3e630801b256ea6a118cea57757d3">  184</a></span>&#160;<span class="preprocessor">#define PX_PS4 0</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#ifndef PX_SWITCH</span></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group__foundation.html#ga69c3fa9b2882d545ebdb965086853c62">  187</a></span>&#160;<span class="preprocessor">#define PX_SWITCH 0</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#ifndef PX_UWP</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="group__foundation.html#ga927c1801f7f1134c1344caaff90bd632">  190</a></span>&#160;<span class="preprocessor">#define PX_UWP 0</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">#ifndef PX_X64</span></div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="group__foundation.html#ga559a6fbf1f502edf3e25e3b90647f111">  193</a></span>&#160;<span class="preprocessor">#define PX_X64 0</span></div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="preprocessor">#ifndef PX_X86</span></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="group__foundation.html#ga4f7abce9f24240386fb46d29e4332d3d">  196</a></span>&#160;<span class="preprocessor">#define PX_X86 0</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="preprocessor">#ifndef PX_A64</span></div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="group__foundation.html#ga8853e1b0f46c6dd7043b948747a19a19">  199</a></span>&#160;<span class="preprocessor">#define PX_A64 0</span></div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">#ifndef PX_ARM</span></div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="group__foundation.html#gad566a9166622790d99924279df71eaf4">  202</a></span>&#160;<span class="preprocessor">#define PX_ARM 0</span></div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor">#ifndef PX_PPC</span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="group__foundation.html#ga5bd657340cb0dc207107cb1742d1135b">  205</a></span>&#160;<span class="preprocessor">#define PX_PPC 0</span></div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">#ifndef PX_SSE2</span></div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="group__foundation.html#ga2dd18616fa4eec4df42b5f3505dd2a64">  208</a></span>&#160;<span class="preprocessor">#define PX_SSE2 0</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">#ifndef PX_NEON</span></div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="group__foundation.html#ga41ea3463989964c5a4e21d68a9d3884a">  211</a></span>&#160;<span class="preprocessor">#define PX_NEON 0</span></div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">#ifndef PX_VMX</span></div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="group__foundation.html#ga43eec71a9b57bd336f2208cb33dba42e">  214</a></span>&#160;<span class="preprocessor">#define PX_VMX 0</span></div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment">define anything not defined through the command line to 0</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">#ifndef PX_DEBUG</span></div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="group__foundation.html#ga7b6fbb539e9185279ced84864179180b">  221</a></span>&#160;<span class="preprocessor">#define PX_DEBUG 0</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">#ifndef PX_CHECKED</span></div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="group__foundation.html#gadff4cde4e8b8443cfbe024b9fb52a891">  224</a></span>&#160;<span class="preprocessor">#define PX_CHECKED 0</span></div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">#ifndef PX_PROFILE</span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="group__foundation.html#gabefdbdd6927f15e90168c46824f7bd38">  227</a></span>&#160;<span class="preprocessor">#define PX_PROFILE 0</span></div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor">#ifndef PX_DEBUG_CRT</span></div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="group__foundation.html#ga6952091abd80c0c93a99d331b6c97482">  230</a></span>&#160;<span class="preprocessor">#define PX_DEBUG_CRT 0</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="preprocessor">#ifndef PX_NVTX</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="group__foundation.html#ga65237bda8f886bb466e89d01a1ba0a77">  233</a></span>&#160;<span class="preprocessor">#define PX_NVTX 0</span></div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor">#ifndef PX_DOXYGEN</span></div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="preprocessor">#define PX_DOXYGEN 0</span></div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">// compiler</span></div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="group__foundation.html#gae6e47183b054e4c5d6a478a00fe91e27">  243</a></span>&#160;<span class="preprocessor">#define PX_GCC_FAMILY (PX_CLANG || PX_GCC)</span></div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="comment">// os</span></div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="group__foundation.html#ga5121e2d88c11a94738ee44b0b6b339a2">  245</a></span>&#160;<span class="preprocessor">#define PX_WINDOWS_FAMILY (PX_WIN32 || PX_WIN64 || PX_UWP)</span></div><div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="group__foundation.html#gaa68c4b18475815da696850a588b3ac8b">  246</a></span>&#160;<span class="preprocessor">#define PX_MICROSOFT_FAMILY (PX_XBOXONE || PX_WINDOWS_FAMILY || PX_XBOX_SERIES_X)</span></div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="group__foundation.html#gaa6237ff50213fc9872d4569a649dcd53">  247</a></span>&#160;<span class="preprocessor">#define PX_LINUX_FAMILY (PX_LINUX || PX_ANDROID)</span></div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="group__foundation.html#ga4330ceada999f3f6d10f7bd4b3dd3c2f">  248</a></span>&#160;<span class="preprocessor">#define PX_APPLE_FAMILY (PX_IOS || PX_OSX)                  // equivalent to #if __APPLE__</span></div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="group__foundation.html#gad7d515be586be72c5c485c5624783a97">  249</a></span>&#160;<span class="preprocessor">#define PX_UNIX_FAMILY (PX_LINUX_FAMILY || PX_APPLE_FAMILY) // shortcut for unix/posix platforms</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="preprocessor">#if defined(__EMSCRIPTEN__)</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor">#define PX_EMSCRIPTEN 1</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="group__foundation.html#gab14d7af80f3dc4ff432087381fcefdb9">  253</a></span>&#160;<span class="preprocessor">#define PX_EMSCRIPTEN 0</span></div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment">// architecture</span></div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="group__foundation.html#ga481340bf67229603a2c5b9257874934a">  256</a></span>&#160;<span class="preprocessor">#define PX_INTEL_FAMILY (PX_X64 || PX_X86)</span></div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="group__foundation.html#ga99db209a98702e2d6673d967bac37d07">  257</a></span>&#160;<span class="preprocessor">#define PX_ARM_FAMILY (PX_ARM || PX_A64)</span></div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="group__foundation.html#gac9e21d1f7a04c78926a89d936c97546f">  258</a></span>&#160;<span class="preprocessor">#define PX_P64_FAMILY (PX_X64 || PX_A64) // shortcut for 64-bit architectures</span></div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">#if defined(_LIBCPP_VERSION) || PX_WIN64 || PX_WIN32 || PX_PS4 || PX_XBOXONE || PX_UWP || PX_EMSCRIPTEN || PX_XBOX_SERIES_X</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#define PX_LIBCPP 1</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="group__foundation.html#gad76274b09d89544fc4133c8d915293ed">  266</a></span>&#160;<span class="preprocessor">#define PX_LIBCPP 0</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="comment">// legacy define for PhysX</span></div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="group__foundation.html#ga8d26d765b23de0bca18dd327cde2d8f8">  270</a></span>&#160;<span class="preprocessor">#define PX_WINDOWS (PX_WINDOWS_FAMILY &amp;&amp; !PX_ARM_FAMILY)</span></div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#ifndef PX_ENABLE_ASSERTS</span></div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="preprocessor">#if PX_DEBUG &amp;&amp; !defined(__CUDACC__)</span></div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="preprocessor">#define PX_ENABLE_ASSERTS 1</span></div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="group__foundation.html#ga43c56deefc64fae5fe077a232a10056c">  279</a></span>&#160;<span class="preprocessor">#define PX_ENABLE_ASSERTS 0</span></div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="preprocessor">#ifndef PX_C_EXPORT</span></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="preprocessor">#if PX_WINDOWS_FAMILY || PX_LINUX</span></div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="preprocessor">#define PX_C_EXPORT extern &quot;C&quot;</span></div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="group__foundation.html#gaea189596f11f07c586d4757cc67e8f7f">  290</a></span>&#160;<span class="preprocessor">#define PX_C_EXPORT</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="preprocessor">#if PX_UNIX_FAMILY&amp;&amp; __GNUC__ &gt;= 4</span></div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="preprocessor">#define PX_UNIX_EXPORT __attribute__((visibility(&quot;default&quot;)))</span></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="group__foundation.html#gac40d28c5e85426df7a98ff9bd597810c">  297</a></span>&#160;<span class="preprocessor">#define PX_UNIX_EXPORT</span></div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor">#if (PX_WINDOWS_FAMILY || PX_XBOXONE || PX_PS4 || PX_XBOX_SERIES_X)</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="preprocessor">#define PX_DLL_EXPORT __declspec(dllexport)</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor">#define PX_DLL_IMPORT __declspec(dllimport)</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="group__foundation.html#ga5be743320fae5abf91e51efebced816e">  304</a></span>&#160;<span class="preprocessor">#define PX_DLL_EXPORT PX_UNIX_EXPORT</span></div><div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="group__foundation.html#gadfbe26e2b38cec0e72ed7d70872d234f">  305</a></span>&#160;<span class="preprocessor">#define PX_DLL_IMPORT</span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="preprocessor">#ifndef PX_CALL_CONV</span></div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">#if PX_MICROSOFT_FAMILY</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="preprocessor">#define PX_CALL_CONV __cdecl</span></div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="group__foundation.html#ga65a319adb859941e5bd98575280b8d19">  315</a></span>&#160;<span class="preprocessor">#define PX_CALL_CONV</span></div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="preprocessor">#if PX_VC</span></div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="preprocessor">#define PX_PUSH_PACK_DEFAULT __pragma(pack(push, 8))</span></div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="preprocessor">#define PX_POP_PACK __pragma(pack(pop))</span></div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="preprocessor">#elif PX_GCC_FAMILY</span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="preprocessor">#define PX_PUSH_PACK_DEFAULT _Pragma(&quot;pack(push, 8)&quot;)</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="preprocessor">#define PX_POP_PACK _Pragma(&quot;pack(pop)&quot;)</span></div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="group__foundation.html#ga1145ffab2cc9a77ca65b59ba4126342f">  329</a></span>&#160;<span class="preprocessor">#define PX_PUSH_PACK_DEFAULT</span></div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="group__foundation.html#ga9aad3b08e5e15565ff39638b753f4a92">  330</a></span>&#160;<span class="preprocessor">#define PX_POP_PACK</span></div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">  336</a></span>&#160;<span class="preprocessor">#define PX_INLINE inline</span></div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="preprocessor">#if PX_MICROSOFT_FAMILY</span></div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="preprocessor">#pragma inline_depth(255)</span></div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="preprocessor">#if PX_VC</span></div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="preprocessor">#define PX_FORCE_INLINE __forceinline</span></div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;<span class="preprocessor">#elif PX_LINUX // Workaround; Fedora Core 3 do not agree with force inline and PxcPool</span></div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="preprocessor">#define PX_FORCE_INLINE inline</span></div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;<span class="preprocessor">#elif PX_GCC_FAMILY</span></div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="preprocessor">#define PX_FORCE_INLINE inline __attribute__((always_inline))</span></div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">  351</a></span>&#160;<span class="preprocessor">#define PX_FORCE_INLINE inline</span></div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="preprocessor">#if PX_MICROSOFT_FAMILY</span></div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="preprocessor">#define PX_NOINLINE __declspec(noinline)</span></div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<span class="preprocessor">#elif PX_GCC_FAMILY</span></div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;<span class="preprocessor">#define PX_NOINLINE __attribute__((noinline))</span></div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="group__foundation.html#ga56b7f4f37ac451a47f3d7d661069aa49">  362</a></span>&#160;<span class="preprocessor">#define PX_NOINLINE</span></div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;<span class="preprocessor">#if defined(__CUDACC__)</span></div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="preprocessor">#define PX_RESTRICT __restrict__</span></div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="group__foundation.html#ga3b15bb2f7697b2bed10eb5477909fbe4">  371</a></span>&#160;<span class="preprocessor">#define PX_RESTRICT __restrict</span></div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="preprocessor">#if PX_MICROSOFT_FAMILY</span></div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="preprocessor">#define PX_NOALIAS __declspec(noalias)</span></div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="group__foundation.html#ga838010cc1baa6df8d6ff0fc5655274dd">  380</a></span>&#160;<span class="preprocessor">#define PX_NOALIAS</span></div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="preprocessor">#ifndef PX_ALIGN</span></div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="preprocessor">#if PX_MICROSOFT_FAMILY</span></div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;<span class="preprocessor">#define PX_ALIGN(alignment, decl) __declspec(align(alignment)) decl</span></div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;<span class="preprocessor">#define PX_ALIGN_PREFIX(alignment) __declspec(align(alignment))</span></div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;<span class="preprocessor">#define PX_ALIGN_SUFFIX(alignment)</span></div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;<span class="preprocessor">#elif PX_GCC_FAMILY</span></div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;<span class="preprocessor">#define PX_ALIGN(alignment, decl) decl __attribute__((aligned(alignment)))</span></div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="preprocessor">#define PX_ALIGN_PREFIX(alignment)</span></div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;<span class="preprocessor">#define PX_ALIGN_SUFFIX(alignment) __attribute__((aligned(alignment)))</span></div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;<span class="preprocessor">#elif defined __CUDACC__</span></div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="preprocessor">#define PX_ALIGN(alignment, decl) __align__(alignment) decl</span></div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="preprocessor">#define PX_ALIGN_PREFIX(alignment)</span></div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;<span class="preprocessor">#define PX_ALIGN_SUFFIX(alignment) __align__(alignment))</span></div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="group__foundation.html#ga95024dd88a7efd73c060616238ccbe8a">  408</a></span>&#160;<span class="preprocessor">#define PX_ALIGN(alignment, decl)</span></div><div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="group__foundation.html#gaa645944027e6f4e405de626910e82d8d">  409</a></span>&#160;<span class="preprocessor">#define PX_ALIGN_PREFIX(alignment)</span></div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="group__foundation.html#ga7160eeaa47f99f991d9b1f113b398143">  410</a></span>&#160;<span class="preprocessor">#define PX_ALIGN_SUFFIX(alignment)</span></div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="group__foundation.html#gafd8f8779793627061774cfcfa1b9fbd7">  424</a></span>&#160;<span class="preprocessor">#define PX_DEPRECATED</span></div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="comment">// static assert</span></div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;<span class="preprocessor">#if(defined(__GNUC__) &amp;&amp; (__GNUC__ &gt; 4 || (__GNUC__ == 4 &amp;&amp; __GNUC_MINOR__ &gt;= 7))) || (PX_PS4) || (PX_APPLE_FAMILY) || (PX_SWITCH) || (PX_CLANG &amp;&amp; PX_ARM)</span></div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;<span class="preprocessor">#define PX_COMPILE_TIME_ASSERT(exp) typedef char PX_CONCAT(PxCompileTimeAssert_Dummy, __COUNTER__)[(exp) ? 1 : -1] __attribute__((unused))</span></div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="group__foundation.html#gab12cc8cbd08c9c19ab0d40b7f789012e">  434</a></span>&#160;<span class="preprocessor">#define PX_COMPILE_TIME_ASSERT(exp) typedef char PxCompileTimeAssert_Dummy[(exp) ? 1 : -1]</span></div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;<span class="preprocessor">#if PX_GCC_FAMILY</span></div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;<span class="preprocessor">#define PX_OFFSET_OF(X, Y) __builtin_offsetof(X, Y)</span></div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="group__foundation.html#gaace09d9150d8d87671f893afe548ebac">  440</a></span>&#160;<span class="preprocessor">#define PX_OFFSET_OF(X, Y) offsetof(X, Y)</span></div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="group__foundation.html#ga305a9ab26a10d521e58782103206edf5">  443</a></span>&#160;<span class="preprocessor">#define PX_OFFSETOF_BASE 0x100 // casting the null ptr takes a special-case code path, which we don&#39;t want</span></div><div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="group__foundation.html#ga2ac82f7e080e1411a86f98758a0f3875">  444</a></span>&#160;<span class="preprocessor">#define PX_OFFSET_OF_RT(Class, Member)                                                                                 \</span></div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;<span class="preprocessor">    (reinterpret_cast&lt;size_t&gt;(&amp;reinterpret_cast&lt;Class*&gt;(PX_OFFSETOF_BASE)-&gt;Member) - size_t(PX_OFFSETOF_BASE))</span></div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="comment">// check that exactly one of NDEBUG and _DEBUG is defined</span></div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<span class="preprocessor">#if !defined(NDEBUG) ^ defined(_DEBUG)</span></div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="preprocessor">#error Exactly one of NDEBUG and _DEBUG needs to be defined!</span></div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="comment">// make sure PX_CHECKED is defined in all _DEBUG configurations as well</span></div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;<span class="preprocessor">#if !PX_CHECKED &amp;&amp; PX_DEBUG</span></div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;<span class="preprocessor">#error PX_CHECKED must be defined when PX_DEBUG is defined</span></div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;<span class="preprocessor">#ifdef __CUDACC__</span></div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;<span class="preprocessor">#define PX_CUDA_CALLABLE __host__ __device__</span></div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">  460</a></span>&#160;<span class="preprocessor">#define PX_CUDA_CALLABLE</span></div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;<span class="comment">// avoid unreferenced parameter warning</span></div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;<span class="comment">// preferred solution: omit the parameter&#39;s name from the declaration</span></div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00466"></a><span class="lineno"><a class="line" href="group__foundation.html#ga9727af514012bc32f852e20278a7b04e">  466</a></span>&#160;<a class="code" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">void</span> <a class="code" href="group__foundation.html#ga9727af514012bc32f852e20278a7b04e">PX_UNUSED</a>(T <span class="keyword">const</span>&amp;)</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;{</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;}</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="comment">// Ensure that the application hasn&#39;t tweaked the pack value to less than 8, which would break</span></div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;<span class="comment">// matching between the API headers and the binaries</span></div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;<span class="comment">// This assert works on win32/win64, but may need further specialization on other platforms.</span></div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;<span class="comment">// Some GCC compilers need the compiler flag -malign-double to be set.</span></div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;<span class="comment">// Apparently the apple-clang-llvm compiler doesn&#39;t support malign-double.</span></div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;<span class="preprocessor">#if PX_PS4 || PX_APPLE_FAMILY || (PX_CLANG &amp;&amp; !PX_ARM)</span></div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;<span class="keyword">struct </span><a class="code" href="structPxPackValidation.html">PxPackValidation</a></div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;{</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structPxPackValidation.html#a00c377f77d0d7d739bccc389151af49d">_</a>;</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;    <span class="keywordtype">long</span> <a class="code" href="structPxPackValidation.html#aa2ff9e4c23eeb6b7285e5571deb71535">a</a>;</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;};</div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;<span class="preprocessor">#elif PX_ANDROID || (PX_CLANG &amp;&amp; PX_ARM)</span></div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;<span class="keyword">struct </span><a class="code" href="structPxPackValidation.html">PxPackValidation</a></div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;{</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structPxPackValidation.html#a00c377f77d0d7d739bccc389151af49d">_</a>;</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="structPxPackValidation.html#aa2ff9e4c23eeb6b7285e5571deb71535">a</a>;</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;};</div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="structPxPackValidation.html">  488</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxPackValidation.html">PxPackValidation</a></div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;{</div><div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="structPxPackValidation.html#a00c377f77d0d7d739bccc389151af49d">  490</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structPxPackValidation.html#a00c377f77d0d7d739bccc389151af49d">_</a>;</div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="structPxPackValidation.html#aa2ff9e4c23eeb6b7285e5571deb71535">  491</a></span>&#160;    <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="structPxPackValidation.html#aa2ff9e4c23eeb6b7285e5571deb71535">a</a>;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;};</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<span class="comment">// clang (as of version 3.9) cannot align doubles on 8 byte boundary  when compiling for Intel 32 bit target</span></div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;<span class="preprocessor">#if !PX_APPLE_FAMILY &amp;&amp; !PX_EMSCRIPTEN &amp;&amp; !(PX_CLANG &amp;&amp; PX_X86)</span></div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;<a class="code" href="group__foundation.html#gab12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(<a class="code" href="group__foundation.html#gaace09d9150d8d87671f893afe548ebac">PX_OFFSET_OF</a>(<a class="code" href="structPxPackValidation.html">PxPackValidation</a>, a) == 8);</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;<span class="comment">// use in a cpp file to suppress LNK4221</span></div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;<span class="preprocessor">#if PX_VC</span></div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;<span class="preprocessor">#define PX_DUMMY_SYMBOL                                                                                                \</span></div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;<span class="preprocessor">    namespace                                                                                                          \</span></div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;<span class="preprocessor">    {                                                                                                                  \</span></div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;<span class="preprocessor">    char PxDummySymbol;                                                                                                \</span></div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;<span class="preprocessor">    }</span></div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00507"></a><span class="lineno"><a class="line" href="group__foundation.html#gae83a283ec08df8515d40c81810628e87">  507</a></span>&#160;<span class="preprocessor">#define PX_DUMMY_SYMBOL</span></div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;<span class="preprocessor">#if PX_GCC_FAMILY</span></div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;<span class="preprocessor">#define PX_WEAK_SYMBOL __attribute__((weak)) // this is to support SIMD constant merging in template specialization</span></div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="group__foundation.html#ga41f92d88ba8f7b8ef321aa090b0e270d">  513</a></span>&#160;<span class="preprocessor">#define PX_WEAK_SYMBOL</span></div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;<span class="comment">// Macro for avoiding default assignment and copy, because doing this by inheritance can increase class size on some</span></div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;<span class="comment">// platforms.</span></div><div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="group__foundation.html#ga2af6846d9d49e433af97059f0291eef1">  518</a></span>&#160;<span class="preprocessor">#define PX_NOCOPY(Class)                                                                                               \</span></div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;<span class="preprocessor">    \</span></div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;<span class="preprocessor">protected:                                                                                                             \</span></div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;<span class="preprocessor">    Class(const Class&amp;);                                                                                               \</span></div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;<span class="preprocessor">    Class&amp; operator=(const Class&amp;);</span></div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;<span class="preprocessor">#ifndef DISABLE_CUDA_PHYSX</span></div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;<span class="comment">//CUDA is currently supported only on windows </span></div><div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="group__foundation.html#ga0a511de410e7de7a8625fb572f88bd89">  526</a></span>&#160;<span class="preprocessor">#define PX_SUPPORT_GPU_PHYSX ((PX_WINDOWS_FAMILY) || (PX_LINUX &amp;&amp; PX_X64))</span></div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;<span class="preprocessor">#define PX_SUPPORT_GPU_PHYSX 0</span></div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;</div><div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="group__foundation.html#ga39f6354f5e10029a058e2141956ed9ef">  531</a></span>&#160;<span class="preprocessor">#define PX_SUPPORT_COMPUTE_PHYSX 0</span></div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="preprocessor">#ifndef PX_SUPPORT_EXTERN_TEMPLATE</span></div><div class="line"><a name="l00534"></a><span class="lineno"><a class="line" href="group__foundation.html#ga58dd174408338f37c62dfe6ac1baec60">  534</a></span>&#160;<span class="preprocessor">#define PX_SUPPORT_EXTERN_TEMPLATE ((!PX_ANDROID) &amp;&amp; (PX_VC != 11))</span></div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;<span class="preprocessor">#define PX_SUPPORT_EXTERN_TEMPLATE 0</span></div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="preprocessor">#endif // #ifndef PXFOUNDATION_PXPREPROCESSOR_H</span></div><div class="ttc" id="structPxPackValidation_html"><div class="ttname"><a href="structPxPackValidation.html">PxPackValidation</a></div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:488</div></div>
<div class="ttc" id="group__foundation_html_gaace09d9150d8d87671f893afe548ebac"><div class="ttname"><a href="group__foundation.html#gaace09d9150d8d87671f893afe548ebac">PX_OFFSET_OF</a></div><div class="ttdeci">#define PX_OFFSET_OF(X, Y)</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:440</div></div>
<div class="ttc" id="group__foundation_html_gab12cc8cbd08c9c19ab0d40b7f789012e"><div class="ttname"><a href="group__foundation.html#gab12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a></div><div class="ttdeci">#define PX_COMPILE_TIME_ASSERT(exp)</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:434</div></div>
<div class="ttc" id="group__foundation_html_ga9727af514012bc32f852e20278a7b04e"><div class="ttname"><a href="group__foundation.html#ga9727af514012bc32f852e20278a7b04e">PX_UNUSED</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_INLINE void PX_UNUSED(T const &amp;)</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:466</div></div>
<div class="ttc" id="structPxPackValidation_html_aa2ff9e4c23eeb6b7285e5571deb71535"><div class="ttname"><a href="structPxPackValidation.html#aa2ff9e4c23eeb6b7285e5571deb71535">PxPackValidation::a</a></div><div class="ttdeci">long long a</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:491</div></div>
<div class="ttc" id="structPxPackValidation_html_a00c377f77d0d7d739bccc389151af49d"><div class="ttname"><a href="structPxPackValidation.html#a00c377f77d0d7d739bccc389151af49d">PxPackValidation::_</a></div><div class="ttdeci">char _</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:490</div></div>
<div class="ttc" id="group__foundation_html_gacb03347b642a2a5bdea1f9b305a6fbec"><div class="ttname"><a href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a></div><div class="ttdeci">#define PX_INLINE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:336</div></div>
<div class="ttc" id="group__foundation_html_ga6e444d58dbf1459261fadc9b79594f63"><div class="ttname"><a href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a></div><div class="ttdeci">#define PX_CUDA_CALLABLE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:460</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_266c30cc99b40eba7d94345de82f8db9.html">packman-repo</a></li><li class="navelem"><a class="el" href="dir_44fe44e2771711da9c667697b685dcda.html">PxShared-public</a></li><li class="navelem"><a class="el" href="dir_e1dbf85b29c2f923267acb78e2c299dd.html">1.1.trunk.29467035</a></li><li class="navelem"><a class="el" href="dir_67f783feb5a64e036eee501a17b4317a.html">include</a></li><li class="navelem"><a class="el" href="dir_d5f223569182be7fb9b876919d20e64f.html">foundation</a></li><li class="navelem"><a class="el" href="PxPreprocessor_8h.html">PxPreprocessor.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
